Optimal. Leaf size=40 \[ -\frac{\tanh ^{-1}\left (\frac{\sqrt{1-c^4 x^4}}{c x \sqrt{\frac{1}{c^2 x^2}+1}}\right )}{c} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0722516, antiderivative size = 44, normalized size of antiderivative = 1.1, number of steps used = 5, number of rules used = 5, integrand size = 28, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.179, Rules used = {1448, 1252, 848, 63, 208} \[ -\frac{x \sqrt{\frac{1}{c^2 x^2}+1} \tanh ^{-1}\left (\sqrt{1-c^2 x^2}\right )}{\sqrt{c^2 x^2+1}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1448
Rule 1252
Rule 848
Rule 63
Rule 208
Rubi steps
\begin{align*} \int \frac{\sqrt{1+\frac{1}{c^2 x^2}}}{\sqrt{1-c^4 x^4}} \, dx &=\frac{\left (\sqrt{1+\frac{1}{c^2 x^2}} x\right ) \int \frac{\sqrt{1+c^2 x^2}}{x \sqrt{1-c^4 x^4}} \, dx}{\sqrt{1+c^2 x^2}}\\ &=\frac{\left (\sqrt{1+\frac{1}{c^2 x^2}} x\right ) \operatorname{Subst}\left (\int \frac{\sqrt{1+c^2 x}}{x \sqrt{1-c^4 x^2}} \, dx,x,x^2\right )}{2 \sqrt{1+c^2 x^2}}\\ &=\frac{\left (\sqrt{1+\frac{1}{c^2 x^2}} x\right ) \operatorname{Subst}\left (\int \frac{1}{x \sqrt{1-c^2 x}} \, dx,x,x^2\right )}{2 \sqrt{1+c^2 x^2}}\\ &=-\frac{\left (\sqrt{1+\frac{1}{c^2 x^2}} x\right ) \operatorname{Subst}\left (\int \frac{1}{\frac{1}{c^2}-\frac{x^2}{c^2}} \, dx,x,\sqrt{1-c^2 x^2}\right )}{c^2 \sqrt{1+c^2 x^2}}\\ &=-\frac{\sqrt{1+\frac{1}{c^2 x^2}} x \tanh ^{-1}\left (\sqrt{1-c^2 x^2}\right )}{\sqrt{1+c^2 x^2}}\\ \end{align*}
Mathematica [A] time = 0.0555167, size = 44, normalized size = 1.1 \[ -\frac{x \sqrt{\frac{1}{c^2 x^2}+1} \tanh ^{-1}\left (\sqrt{1-c^2 x^2}\right )}{\sqrt{c^2 x^2+1}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.061, size = 101, normalized size = 2.5 \begin{align*} -{\frac{x{\it csgn} \left ({c}^{-1} \right ) }{ \left ({c}^{2}{x}^{2}+1 \right ) c}\sqrt{{\frac{{c}^{2}{x}^{2}+1}{{c}^{2}{x}^{2}}}}\sqrt{-{c}^{4}{x}^{4}+1}\ln \left ( 2\,{\frac{1}{x{c}^{2}} \left ({\it csgn} \left ({c}^{-1} \right ) c\sqrt{-{\frac{{c}^{2}{x}^{2}-1}{{c}^{2}}}}+1 \right ) } \right ){\frac{1}{\sqrt{-{\frac{{c}^{2}{x}^{2}-1}{{c}^{2}}}}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{\frac{1}{c^{2} x^{2}} + 1}}{\sqrt{-c^{4} x^{4} + 1}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.8348, size = 255, normalized size = 6.38 \begin{align*} -\frac{\log \left (\frac{c^{2} x^{2} + \sqrt{-c^{4} x^{4} + 1} c x \sqrt{\frac{c^{2} x^{2} + 1}{c^{2} x^{2}}} + 1}{c^{2} x^{2} + 1}\right ) - \log \left (-\frac{c^{2} x^{2} - \sqrt{-c^{4} x^{4} + 1} c x \sqrt{\frac{c^{2} x^{2} + 1}{c^{2} x^{2}}} + 1}{c^{2} x^{2} + 1}\right )}{2 \, c} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{1 + \frac{1}{c^{2} x^{2}}}}{\sqrt{- \left (c x - 1\right ) \left (c x + 1\right ) \left (c^{2} x^{2} + 1\right )}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.1095, size = 78, normalized size = 1.95 \begin{align*} \frac{{\left (\log \left (\sqrt{2} + 1\right ) - \log \left (\sqrt{2} - 1\right ) - \log \left (\sqrt{-c^{2} x^{2} + 1} + 1\right ) + \log \left (-\sqrt{-c^{2} x^{2} + 1} + 1\right )\right )}{\left | c \right |} \mathrm{sgn}\left (x\right )}{2 \, c^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]